Skip to content

docs(adr): ADR-0076 rev.5 — kernel review + ObjectStackProtocol segmentation (D8/D9)#2423

Merged
os-zhuang merged 1 commit into
mainfrom
docs/adr-0076-protocol-segmentation
Jun 28, 2026
Merged

docs(adr): ADR-0076 rev.5 — kernel review + ObjectStackProtocol segmentation (D8/D9)#2423
os-zhuang merged 1 commit into
mainfrom
docs/adr-0076-protocol-segmentation

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What

Folds the deep kernel-architecture review into ADR-0076 (rev.5) — per maintainer preference for fewer ADRs — instead of a separate ADR.

Added

  • D8 (ratify) — the engine (objectql) is a clean, governance-free primitive (verified: zero RLS/RBAC/owner/tenant in engine.ts; all pluggable via middleware/hooks). Protect it; no protocol/metadata/governance logic may enter it.
  • D9 (new) — the central contract ObjectStackProtocol is a 70-method, 11-domain god-interface (60/70 optional; no consumer uses >11%). Decision: segment per ISP into DataProtocol + MetadataProtocol + optional capability protocols (Analytics/Feed/Realtime/Notification/View/…), keeping ObjectStackProtocol = DataProtocol & MetadataProtocol & Partial<…> as a back-compat alias. Spec/type-level + incremental; impl restructure + metadata-protocol rename ride the cross-repo window with D7/Step 2.
  • TL;DR point + three open questions (data-facade home, post-segmentation package name, per-domain versioning).

Scope

Docs only — edits docs/adr/0076-objectql-core-tiering.md (Status → rev.5). No code. Empty changeset.

🤖 Generated with Claude Code

…ol segmentation (D8/D9)

Per maintainer preference (fewer ADRs), the deep kernel-architecture review is
folded into ADR-0076 rather than a separate ADR:

- D8 (ratify): the engine is a clean, governance-free primitive — protect it;
  no protocol/metadata/governance logic may enter it.
- D9 (new): the central wire contract `ObjectStackProtocol` is a 70-method,
  11-domain god-interface (60/70 optional; no consumer uses >11%). Segment it
  per ISP into DataProtocol + MetadataProtocol + optional capability protocols,
  keeping a composed alias for back-compat. Spec/type-level + incremental; the
  impl restructure + rename ride the cross-repo window with D7/Step 2.

Adds a TL;DR point and three open questions. Docs only; empty changeset.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 28, 2026 10:55am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tooling size/s labels Jun 28, 2026
@os-zhuang
os-zhuang merged commit 0ebe18d into main Jun 28, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the docs/adr-0076-protocol-segmentation branch June 28, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant